<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			
			
			// window.outer = functon(){}
			function outer(){
				console.log(this)
				console.log("outer function ");
				function innerFunction(){
					console.log(this)
					console.log("innerFunction");
				}
				//内部方法
				innerFunction();
			}
			outer();
			
			//报错的
			// innerFunction();
			
			
			
			
			
			
			
			
			
			
		</script>
		</head>
	<body>
		
		
		
	</body>
</html>
